package Info;

public class Graduate extends Student {
    private String tutorName;

    public void setTutorName(String tutorName) {

    }

    public void setGraduateInfo(String name, String sex, String classnum, String profession, String tutorName) {
        super.setPersonInfo(name, sex);
        super.setStuInfo(classnum, profession);
        this.tutorName = tutorName;
    }

    public void getTutorName() {
        System.out.println("导师：" + tutorName);
    }

    public void show() {
        getStudentInfo();
        System.out.println("导师：" + tutorName);
    }
}
